{% extends 'base.html' %}

{% block title %}Bienvenido!{% endblock %}

{% block body %}
        {% if valid %}
            <h3>{{ update_field|escape }}:</h3>
            <h3>{{ original_text|escape }}</h3>
            <form action="." method="post">
                <table>
                    {{ form.as_table }}
                </table>
                <p>
                    <input type="submit" value="{{ button_text }}" /><br /><br />
                </p>
            </form>
        {% else %}
            <p>
                El cuestionario o la pregunta no existen.<br />
            </p>
        {% endif %}
            <p>
                Regresa a <a href="{{ previous }}" >{{ previous_text|escape }}</a>.
            </p>
{% endblock %}
